package trlygjj.tanruiliyigenjinjin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 学员流失
 */
@Getter@Setter@ToString
public class LeaveStudent {
    /**
     * 审核中
     */
    public static final int  STATE_UNDER = 0;
    /**
     * 审核通过
     */
    public static final int  STATE_PUSS = 1;

    private Long id;
    /**
     * 退款学员
     */
    private ProfessionalStuent professionalStudent;
    /**
     * 退学日期
     */
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd" ,timezone="GMT+8")
    private Date refunddate;
    /**
     * 是否退款
     *
     */
    private Integer isRefund ;
    /**
     * 退款金额
     */
    private BigDecimal refundAmount;
    /**
     * 班级
     */
    private Grade grade;
    /**
     * 上课天数
     */
    private Long schooltime;
    /**
     * 流失学科阶段
     *
     */
    private Integer lostState;
    /**
     * 退款原因
     */
    private String leavereasion;
    /**
     * 录入人
     */
    private Employee inputuser;
    /**
     * 审核人
     */
    private Employee auditoruser;

    /**
     * 销售人员
     */
    private Employee marketer;
    /**
     * 流失状态
     */
    private Integer leaceState = STATE_UNDER;
}
























































